cmake_minimum_required(VERSION 3.5.1)

add_library( core )
target_link_libraries( core routing_navigator)


add_library(routing_navigator   navigator.cc  )
target_link_libraries( routing_navigator 
routing_black_list_range_generator
routing_result_generator
cyber::util
strategy
)


add_library( routing_black_list_range_generator   black_list_range_generator.cc )
target_link_libraries( routing_black_list_range_generator 
graph )


add_library(  routing_result_generator  result_generator.cc)
target_link_libraries( routing_result_generator 
 graph )


install(TARGETS core
                routing_navigator
                routing_black_list_range_generator
                routing_result_generator

        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )

